package com.woniu.supermarket.service;

import com.github.pagehelper.PageInfo;
import com.woniu.supermarket.entity.Category;
import com.woniu.supermarket.entity.Supplier;

import java.util.List;


public interface ISupplierService {
    PageInfo<Supplier> queryByPage(Integer now, Integer size,String name);
    int add(Supplier supplier);
    int remove(int id);
    int modify(Supplier supplier);

    List<Supplier> findAll();
}
